using System;
using System.Collections.Generic;
using Zhao.Models.DTO;

namespace Zhao.Models.AppletDto
{
    /// <summary>
    /// 场地价格和预约信息简化版DTO
    /// </summary>
    public class VenuePricingSimpleDTO
    {

        /// <summary>
        /// 场地ID
        /// </summary>
        public int fId { get; set; }

        /// <summary>
        /// 场地名称
        /// </summary>
        public string fName { get; set; }

        /// <summary>
        /// 时间段价格列表
        /// </summary>
        public List<TimePrice> TimePrices { get; set; }

        /// <summary>
        /// 预约信息列表
        /// </summary>
        public List<BookingSimple> Bookings { get; set; }
        /// <summary>
        /// 商家营业时间(开始)
        /// </summary>
        public TimeSpan VenueOpenTime { get; set; }
        /// <summary>
        /// 商家营业时间(结束)
        /// </summary>
        public TimeSpan VenueCloseTime { get; set; }
    }

    /// <summary>
    /// 预约信息简化版
    /// </summary>
    public class BookingSimple
    {
        /// <summary>
        /// 预约ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string EndTime { get; set; }

        /// <summary>
        /// 预约状态
        /// </summary>
        public short status { get; set; }
    }
}